home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 1
/
Gold Medal Software Volume 1 (Gold Medal) (1994).iso
/
graphics
/
povsrc20.arj
/
MACHINE
/
UNIX
/
SPARC.FIX
/
POV_FIX.ZIP
/
UNIX.MAK
< prev
Wrap
Makefile
|
1992-07-29
|
1KB
|
44 lines
# Makefile for Persistence of Vision Raytracer
#
# Minor mods for gcc on Sun SPARCstation
#
# This file is released to the public domain.
#
#
# MAKE Macros and Such...
#
#***************************************************************
#*
#* UNIX Makefile
#*
#***************************************************************
# The exact options may depend on your compiler. Feel free to modify
# these as required.
CC = gcc
OBJ = o
MACHINE_OBJ = unix.$(OBJ)
CFLAGS = -ansi -c -O -I/usr/lib/gcc-include -Dsparc
LFLAGS = -o ../bin/povray -O /usr/lib/libm.a
# Make's implicit rules for making a .o file from a .c file...
#
.c.o :
$(CC) $(CFLAGS) $*.c
POVOBJS = povray.$(OBJ) render.$(OBJ) tokenize.$(OBJ) parse.$(OBJ) \
objects.$(OBJ) spheres.$(OBJ) quadrics.$(OBJ) lighting.$(OBJ) \
prioq.$(OBJ) texture.$(OBJ) matrices.$(OBJ) csg.$(OBJ) hfield.$(OBJ)\
txtcolor.$(OBJ) txtbump.$(OBJ) txtmap.$(OBJ) txttest.$(OBJ) \
colour.$(OBJ) viewpnt.$(OBJ) ray.$(OBJ) planes.$(OBJ) iff.$(OBJ) \
gif.$(OBJ) gifdecod.$(OBJ) triangle.$(OBJ) raw.$(OBJ) dump.$(OBJ) \
targa.$(OBJ) poly.$(OBJ) bezier.$(OBJ) vect.$(OBJ) \
blob.$(OBJ) boxes.$(OBJ) point.$(OBJ) $(MACHINE_OBJ)
../bin/povray: $(POVOBJS)
$(CC) $(LFLAGS) $(POVOBJS) -lm